package com.zy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zy.common.base.BaseEntity;
import java.util.Date;

/**
 * 参数配置表 sys_config
 * 
 * @author zy
 * @date 2018-12-19
 */
public class SysConfig extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 参数主键 */
	private Integer configId;
	/** 参数名称 */
	private String configName;
	/** 参数键名 */
	private String configKey;
	/** 参数键值 */
	private String configValue;
	/** 系统内置（Y是 N否） */
	private String configType;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	public void setConfigId(Integer configId) 
	{
		this.configId = configId;
	}

	public Integer getConfigId() 
	{
		return configId;
	}
	public void setConfigName(String configName) 
	{
		this.configName = configName;
	}

	public String getConfigName() 
	{
		return configName;
	}
	public void setConfigKey(String configKey) 
	{
		this.configKey = configKey;
	}

	public String getConfigKey() 
	{
		return configKey;
	}
	public void setConfigValue(String configValue) 
	{
		this.configValue = configValue;
	}

	public String getConfigValue() 
	{
		return configValue;
	}
	public void setConfigType(String configType) 
	{
		this.configType = configType;
	}

	public String getConfigType() 
	{
		return configType;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("configId", getConfigId())
            .append("configName", getConfigName())
            .append("configKey", getConfigKey())
            .append("configValue", getConfigValue())
            .append("configType", getConfigType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
